package com.lxy.demo.service;

import com.lxy.demo.bean.User;
import com.lxy.demo.dao.UserDao;
import com.lxy.demo.dao.UserDaoImpl;

public class UserServiceImpl implements UserService{

    static UserDao userDao = new UserDaoImpl();

    @Override
    public boolean findUser(String name, String pwd) throws Exception {
        return userDao.findUser(name, pwd) != null;
    }
}
